<template>
  <div class="wp">
        <div class="head">
        <img src="@/assets/2_25.png" class="pic_1" @click="back"/>
        <h3>设置</h3>
        </div>
        <div class="hdr2"></div>
        <div class="row-a2-my">
       <h5 class="r2-my-ip">
         查看账户
         <img src="@/assets/2_jt.png" class="r2-pic">
       </h5>
        <h5 class="r2-my-ip">
         个人资料
         <img src="@/assets/2_jt.png" class="r2-pic">
       </h5>
        <h5 class="r2-my-ip">
         消息提醒
         <van-switch v-model="checked"/>
       </h5>
       <h5 class="r2-my-ip">
         清理缓存
         <img src="@/assets/2_jt.png" class="r2-pic">
         <span class="r2-size">128MB</span>
       </h5>
       <h5 class="r2-my-ip">
         帮助中心
         <img src="@/assets/2_jt.png" class="r2-pic">
       </h5>
        <h5 class="r2-my-ip">
         关于我们
         <img src="@/assets/2_jt.png" class="r2-pic">
       </h5>
    </div>
    <div class="tc">
        <h4 class="tc-su">退出登录</h4>
    </div>
  </div>
</template>

<script>
export default {
  // 定义属性
  data() {
    return {
      checked:true
    }
  },
  // 计算属性，会监听依赖属性值随之变化
  computed: {
  },
  // 监控data中的数据变化
  watch: {},
  // 方法集合
  methods: {
    back(){
        this.$router.go(-1);//返回上一层
    },
  },
  // 生命周期 - 创建完成（可以访问当前this实例）
  created() {
    
  },
  // 生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {
    
  }
}
</script>

<style lang='less'>
  .head {
  width: 100%;
  height: 160px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #21272e;
  z-index: 999;
  .pic_1 {
    width: 34px;
    height: 33px;
    margin-top: 112px;
    margin-left: 48px;
  }
  h3{
    position: absolute;
    left: 50%;
    top: 95px;
    transform: translate(-50%);
    	font-size: 44px;
	    font-weight: normal;
    	font-stretch: normal;
    	letter-spacing: 0px;
    	color: #ffffff;
  }
}
.hdr2{
    height: 160px;
}
  .row-a2-my{
    margin-left: 50px;
    margin-top: 30px;
    .r2-my-ip{
      line-height: 140px;
  font-size: 36px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #dcdeea;
  border-bottom: 2px solid #333c47;
    }
    .r2-pic{
      padding-top: 55px;
      padding-right: 50px;
      float: right;
      width: 18px;
    }
    .r2-size{
    float: right;
    padding-right: 15px;
	font-size: 24px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #dcdeea;
    }
    .van-switch{
    float: right;
    margin-top: 40px;
    margin-right: 60px;
    }
  }
  .tc-su{
    position: absolute;
    bottom: 40px;
    text-align: center;
    line-height: 142px;
    font-size: 44px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #dcdeea;
    width: 750px;
	height: 142px;
	background-color: #2e363f;
  }
</style>